#include "QtUI/ProjectCommands.qth"
#include "QtUI/ProjectCommands.moh"
#include "QtUI/NewProjectCommand.qth"
#include "QtUI/OpenProjectCommand.qth"
#include "QtUI/SaveProjectCommand.qth"
#include "QtUI/CloseProjectCommand.qth"
#include "Ctrl/ControlCenter.hpp"
#include "Ctrl/ProjectController.hpp"
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
#include <memory>


namespace QtUI
{

UICommandBase& ProjectCommands::getNewProjectCommand()
{
	static NewProjectCommand COMMAND ( new QAction( tr( "&New project..."), NULL));
	return COMMAND;
}

// ---------------------------------------------------------------------------------------------------------------------

UICommandBase& ProjectCommands::getOpenProjectCommand()
{
	static OpenProjectCommand COMMAND( new QAction( tr( "&Open project..."), NULL));
	return COMMAND;
}

// ---------------------------------------------------------------------------------------------------------------------

UICommandBase& ProjectCommands::getSaveProjectCommand()
{
	static SaveProjectCommand COMMAND( new QAction( ProjectCommands::tr( "&Save project"), NULL));
	return COMMAND;
}

// ---------------------------------------------------------------------------------------------------------------------

UICommandBase& ProjectCommands::getCloseProjectCommand()
{
	static CloseProjectCommand COMMAND( new QAction( ProjectCommands::tr( "&Close project"), NULL));
	return COMMAND;
}

} // namespace QtUI
